package com.ethink.order.service;

import com.ethink.order.api.info.TobSaleSettlementDetailOrderInfo;
import com.ethink.order.api.request.TobSaleDetailOrderAddRequest;
import com.ethink.order.api.request.TobSaleSettlementDetailOrderAddRequest;

import java.util.List;

/**
 * TOB销售结算详单 Service接口
 *
 * @author default
 * @date 2022-11-17
 */
public interface TobSaleSettlementDetailOrderService {

    List<TobSaleSettlementDetailOrderInfo> queryDetailOrderByPo(String poOrderNo);

    /**
     *
     * @param item
     * @param orderNo
     * @param saleChannel 订单来源
     */
    void batchInsert(List<TobSaleSettlementDetailOrderAddRequest> item, String orderNo,String saleChannel);

    void addTobSaleSettlementDetailOrder(TobSaleSettlementDetailOrderAddRequest request,String orderNo);
}